/*
 * Path.h
 *
 *  Created on: Aug 25, 2010
 *      Author: Satish
 */

#ifndef PATH_H_
#define PATH_H_

#include<string>

using namespace std;

class Path
{
private:

	string mPermutation;//represents a path in the network

	float mCost;//the length of the cable required for the path

public:

	Path();//Default constructor

	//constructor with member initializations
	Path(string aPermutation,float aCost):mPermutation(aPermutation),mCost(aCost){}

	//accessors and mutators
	string getpermutation()
	{
		return mPermutation;
	}

	float getcost()
	{
		return mCost;
	}

	void setpath(string s)
	{
		mPermutation = s ;
	}

	void setcost(float cost)
	{
		mCost = cost;
	}

	virtual ~Path();

};

#endif /* PATH_H_ */
